home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
-
- set -e
-
- # Automatically added by dh_pycentral
- rm -f /var/lib/pycentral/python-twisted-web.pkgremove
- if which pycentral >/dev/null 2>&1; then
- pycentral pkginstall python-twisted-web
- if grep -qs '^python-twisted-web$' /var/lib/pycentral/delayed-pkgs; then
- sed -i '/^python-twisted-web$/d' /var/lib/pycentral/delayed-pkgs
- fi
- fi
- # End automatically added section
-
-
- case "$1" in
- configure)
- for p in $(pyversions -i); do
- $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || true
- done
- ;;
- esac
-
- exit 0
-